package com.agencia.ws.cliente;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;

/**
 * <p>
 * Java class for pasajero complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name=&quot;pasajero&quot;&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base=&quot;{http://www.w3.org/2001/XMLSchema}anyType&quot;&gt;
 *       &lt;sequence&gt;
 *         &lt;element name=&quot;apellido&quot; type=&quot;{http://www.w3.org/2001/XMLSchema}string&quot; minOccurs=&quot;0&quot;/&gt;
 *         &lt;element name=&quot;dni&quot; type=&quot;{http://www.w3.org/2001/XMLSchema}long&quot;/&gt;
 *         &lt;element name=&quot;fechaNacimiento&quot; type=&quot;{http://www.w3.org/2001/XMLSchema}dateTime&quot; minOccurs=&quot;0&quot;/&gt;
 *         &lt;element name=&quot;nombre&quot; type=&quot;{http://www.w3.org/2001/XMLSchema}string&quot; minOccurs=&quot;0&quot;/&gt;
 *         &lt;element name=&quot;telefono&quot; type=&quot;{http://www.w3.org/2001/XMLSchema}long&quot;/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "pasajero", propOrder = { "apellido", "dni", "fechaNacimiento",
		"nombre", "telefono" })
public class Pasajero {

	protected String apellido;
	protected long dni;
	@XmlSchemaType(name = "dateTime")
	protected XMLGregorianCalendar fechaNacimiento;
	protected String nombre;
	protected long telefono;

	/**
	 * Gets the value of the apellido property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getApellido() {
		return apellido;
	}

	/**
	 * Sets the value of the apellido property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setApellido(String value) {
		this.apellido = value;
	}

	/**
	 * Gets the value of the dni property.
	 * 
	 */
	public long getDni() {
		return dni;
	}

	/**
	 * Sets the value of the dni property.
	 * 
	 */
	public void setDni(long value) {
		this.dni = value;
	}

	/**
	 * Gets the value of the fechaNacimiento property.
	 * 
	 * @return possible object is {@link XMLGregorianCalendar }
	 * 
	 */
	public XMLGregorianCalendar getFechaNacimiento() {
		return fechaNacimiento;
	}

	/**
	 * Sets the value of the fechaNacimiento property.
	 * 
	 * @param value
	 *            allowed object is {@link XMLGregorianCalendar }
	 * 
	 */
	public void setFechaNacimiento(XMLGregorianCalendar value) {
		this.fechaNacimiento = value;
	}

	/**
	 * Gets the value of the nombre property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getNombre() {
		return nombre;
	}

	/**
	 * Sets the value of the nombre property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setNombre(String value) {
		this.nombre = value;
	}

	/**
	 * Gets the value of the telefono property.
	 * 
	 */
	public long getTelefono() {
		return telefono;
	}

	/**
	 * Sets the value of the telefono property.
	 * 
	 */
	public void setTelefono(long value) {
		this.telefono = value;
	}

}
